#include <iostream>
#include <cstring>
using namespace std;
struct Person
{
    string name;               //名字，字符串
    unsigned short age;        //年龄，无符号短整型
    unsigned short weight;     //体重，无符号短整型，单位（kg)
    unsigned short height;     //身高，无符号短整型，单位（cm)
    string sex;                //性别，字符串或字符型char
}per;
int main()
{
    per.name = "xiao";
    per.age = 22;
    per.weight = 90.5;
    per.height = 171;  
    per.sex = "male";
    cout << " name = " << per.name <<endl;
    cout << " age = " << per.age <<endl;
    cout << " weight = " << per.weight << endl;
    cout << " height = " << per.height << endl;
    cout << " sex = "<< per.sex <<endl;
    return 0;
}